package se.teamscape.shared.rpc;

import net.customware.gwt.dispatch.shared.Action;

/**
 * Action for fetching models using a custom query.
 * 
 * @author Andreas Borglin
 * 
 */
@SuppressWarnings("serial")
public class ModelsQuery implements Action<ModelsQueryResult> {

    private DBQuery mQuery;

    ModelsQuery() {
    }

    public ModelsQuery(DBQuery query) {
        this.mQuery = query;
    }

    public DBQuery getQuery() {
        return mQuery;
    }

    // TODO: Add support for caching. equals and hashcode

}
